package com.onehouse.infrastructure.dao;

import com.onehouse.infrastructure.dao.po.PaymentPo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PaymentDao {
    int insert(PaymentPo payment);
    int update(PaymentPo payment);
    PaymentPo selectByPaymentId(@Param("paymentId") String paymentId);
    List<PaymentPo> selectByOrderId(@Param("orderId") String orderId);
} 